package cn.edu.scau.dropship.service;

import cn.edu.scau.dropship.entity.Brand;
import cn.edu.scau.dropship.entity.BrandExample;

import java.util.List;

public interface BrandService {

    public long countByExample(BrandExample example);


    public int deleteByExample(BrandExample example);


    public int deleteByPrimaryKey(Integer id);


    public int insert(Brand record);


    public int insertSelective(Brand record);


    public List<Brand> selectByExample(BrandExample example);


    public Brand selectByPrimaryKey(Integer id);


    public int updateByExampleSelective(Brand record, BrandExample example);


    public int updateByExample(Brand record, BrandExample example);


    public int updateByPrimaryKeySelective(Brand record);


    public int updateByPrimaryKey(Brand record);

    public List<Brand> selectAllByMid(Integer mid);

    public Brand selectByName(String name);

    public int deleteByName(String name);
}
